import request from "./request"
import localrequest from "./localrequest"

export function getTopBanners(){
    return request({
        url:"/banner"
    })
}

export function getHotRecommends(limit){
    return request({
        url:"/personalized",
        params:{
            limit
        }
    })
}

export function getNewAlbums(limit) {
    return request({
      url: "/top/album",
      params: {
        limit
      }
    })
  }


  
  export function  getTopList(id){
    return localrequest({
        url:"/top/list",
        params:{
          id
        }

    })
  }